package dbTable;

public class RETOP_SUB extends RETOPIC{
	public String[][] select_replyid(String topicid) {
		String SQL = "SELECT * FROM "+fn.TABLE_NAME+" WHERE "+fn.topicid+" = ? order by 5 desc limit 1";
		Object parameter[] = { topicid};
		return super.select(SQL, parameter);
	}
	public String[][] select_count(String topicid) {
		String SQL = "SELECT * FROM "+fn.TABLE_NAME+" WHERE "+fn.topicid+" = ?";
		Object parameter[] = { topicid};
		return super.select(SQL, parameter);
	}

}
